<%@ include file="/common/taglibs.jsp"%>
<div id="wizard">
	<c:set var="menu"><decorator:getProperty property="meta.menu"/></c:set>
	<c:if test="${empty menu}"><c:set var="menu" value="filter"/></c:if>	
	
	<c:choose>
		<c:when test="${menu == 'filter'}">
			<div class="stepActive">
		</c:when>
		<c:otherwise>
			<div class="step">
		</c:otherwise>
	</c:choose>
		<a href="<c:url value="/filter/create.html"/>">
			<div class="label">Step 1</div>
		</a>
	</div>

	<c:choose>
		<c:when test="${menu == 'format'}">
			<div class="stepActive">
		</c:when>
		<c:otherwise>
			<div class="step">
		</c:otherwise>
	</c:choose>
		<a href="<c:url value="/format/select.html"/>">
			<div class="label">Step 2</div>
		</a>
	</div>
	
	<c:choose>
		<c:when test="${menu == 'confirm'}">
			<div class="stepActive">
		</c:when>
		<c:otherwise>
			<div class="step">
		</c:otherwise>
	</c:choose>
		<a href="<c:url value="/confirm/index.html"/>">
			<div class="label">Step 3</div>
		</a>
	</div>
</div>